package com.study.dao;

import com.study.entity.EcommerceUser;
import org.springframework.data.jpa.repository.JpaRepository;


public interface EcommerceUserDao extends JpaRepository<EcommerceUser,Long> {

    EcommerceUser findByUsername(String username);

    EcommerceUser findByUsernameAndPassword(String username,String password);

}
